package com.k2data.k2app.util.schedule;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@Table(name = "task_quartz")
public class ScheduleJob {
	private Long id;
	private String jobId;
	private String jobName;
	private String jobGroup;
	private String jobDesc;
	private String jobStatus;
	private String cronExpression;
	/**
	 * 生效时间
	 */
	@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
	private LocalDateTime startDate;
}
